home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / PVDRIVER / F128051.ZIP / INSTALL.DAT < prev    next >
Text File  |  1993-06-21  |  49KB  |  2,139 lines

  1. /*-
  2.   File Name: install.dat
  3.  
  4.   History: Robert Gilsdorf (August 27, 1992) File created
  5.  
  6.   Description: This is a script file that automates the installation process 
  7.            of the Fahrenheit VA display drivers.
  8. */
  9. @DefineProject
  10.     @Name           = "Fahrenheit"
  11.     @Version        = "5.01"
  12.     @Immediate      = 1 
  13.     @Subdir         = "\\"
  14.     @OutDrive       = C
  15.     @AssumeHardDisk = 1
  16. @EndProject
  17.  
  18. @DefineVars
  19.  @Dir @orcdir            = "\\ORCHID\\"
  20.  @Qstring @msgDDI       = "Display Driver Installation"
  21.  @Qstring @msgDrive     = "Please Select Destination Drive:"
  22.  @Qstring @msgDir       = "Please Enter a Directory name or select ENTER to accept default."
  23.  @Qstring @msgPSAV      = "Please Select Version:"
  24.  @Qstring @msgPSAA      = "Please Select an Application:"
  25.  @Qstring @msgPSAO      = "Please Select an Option:"
  26.  @Qstring @msgDDNE      = "does not exist."
  27.  @Qstring @msgCont      = "If you choose to continue, one will be created."
  28.  @Qstring @msgNoFile    = "Some files are missing in your input directory:"
  29.  @Qstring @msgNPI       = "may not be properly installed."
  30.  @Qstring @Reenter      = " Enter Again"
  31.  @Qstring @Cont         = "  Continue  "
  32.  @Qstring @NameWin      = "Microsoft Windows"
  33.  @Qstring @NameCADsys   = "Computer Aided Design"
  34.  @Qstring @NameACAD     = "AutoCAD"
  35.  @Qstring @NameCADKey   = "CADKey"
  36.  @Qstring @NameCADvance = "CADVance"
  37.  @Qstring @NameDataCAD  = "DataCAD"
  38.  @Qstring @NameGenCADD  = "Generic CADD"
  39.  @Qstring @NameMicroCAD = "MicroStation"
  40.  @Qstring @NameVersaCAD = "VersaCAD"
  41.  @Qstring @NameDesk     = "Desktop Publishing"
  42.  @Qstring @NameGem      = "GEM Desktop"
  43.  @Qstring @NameVentura  = "Ventura Publisher"
  44.  @Qstring @NameLotus    = "Lotus 1-2-3"
  45.  @Qstring @NameWord     = "Word Processing"
  46.  @Qstring @NameWP       = "WordPerfect"
  47.  @Qstring @NameMSWord   = "Microsoft Word"
  48.  @Qstring @NameUtil     = "Orchid Utilities"
  49.  @Qstring @NameMore     = "More...."
  50.  @Qstring @NameOS2       = "IBM OS/2"
  51.  @Qstring @NameSCO       = "SCO Unix"
  52.  @Qstring @NameIntractv  = "Interactive Unix"
  53.  @Qstring @NameOtherp    = "Other Orchid Products"
  54.  @Qstring @NameTchsupt   = "Technical Support"
  55.  @Qstring @NameSample    = "Build Voice Notes Playback Diskette" 
  56.  @EndVars
  57.  
  58. @Display
  59. @If (@CheckCard ("c000", "00F6", "Fahrenheit VA") == 1)
  60.   @Goto MenuJumper
  61. @Elseif (@CheckCard ("c000", "011c", "Fahrenheit 1280") == 1)
  62.   @Goto MenuJumper
  63. @Elseif (@CheckCard ("c000", "00F6", "Fahrenheit 1280 Plus") == 1)
  64.   @Goto MenuJumper
  65. @Else
  66.  @Cls
  67.  
  68.         █████████████████ ERROR ████████████████
  69.         █                                      █
  70.         █  An Orchid Fahrenheit video adapter  █
  71.         █  is not detected in your system.     █
  72.         █                                      █
  73.         █  If you choose to continue this      █
  74.         █  installation, the driver may not    █
  75.         █  respond correctly.                  █
  76.         █                                      █
  77.         █  If you are using a Network Server,  █
  78.         █  Just PRESS <ENTER> to continue.     █
  79.         █                                      █
  80.         █  PRESS F3 TO ABORT INSTALLATION      █
  81.         █                                      █
  82.         █                                      █
  83.         █                                      █
  84.         ████████████████████████████████████████
  85.  
  86.  @Pause
  87. @Endif
  88.  
  89.  
  90.     
  91.  
  92. MenuJumper:
  93. @cls
  94. @If (@CheckCard ("C000", "00F6", "Fahrenheit VA") == 1)
  95.  
  96.  
  97.  
  98.  
  99.  
  100.            Orchid Fahrenheit VA Series Video Adapter
  101.  
  102.  
  103.               Display Driver Installation Program
  104.  
  105.  
  106.                    Disk Release 5.01
  107.  
  108.  
  109.  
  110.  
  111.   @Pause
  112. @Elseif (@CheckCard ("C000", "011C", "Fahrenheit 1280") == 1)
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.               Orchid Fahrenheit 1280 Video Adapter
  120.  
  121.  
  122.               Display Driver Installation Program
  123.  
  124.  
  125.                    Disk Release 5.01
  126.  
  127.  
  128.  
  129.  
  130.  
  131.   @Pause
  132.  
  133. @Elseif (@CheckCard ("C000", "00F6", "Fahrenheit 1280 Plus") == 1)
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.            Orchid Fahrenheit 1280 Plus Video Adapter
  141.  
  142.  
  143.               Display Driver Installation Program
  144.  
  145.  
  146.                    Disk Release 5.01
  147.  
  148.  
  149.  
  150.  
  151.   @Pause
  152.  
  153.  
  154. @Cls
  155. @Endif
  156.  
  157. @If (@Chk2e8)
  158.  
  159.         ████████████████ Warning ███████████████
  160.         █                                      █
  161.         █  Fax Modem OR Serial Port OR Scanner █
  162.         █  Adapter is utlizing the I/O port of █
  163.         █  Fahrenheit Video Adapter.           █
  164.         █                                      █
  165.         █  Please reconfigure your Fax Modem   █
  166.         █  OR Serial Port OR Scanner at other  █
  167.         █  I/O port address, i.e. Avoid I/O    █
  168.         █  port address 2e8.                   █
  169.         █                                      █
  170.         █                                      █
  171.         █  You may continue the Installation,  █
  172.         █  and reconfigure your I/O port       █
  173.         █  address after Installation is       █
  174.         █  completed.                          █
  175.         █                                      █
  176.         ████████████████████████████████████████
  177. @Pause
  178. @Endif
  179.  
  180. @EndDisplay
  181.  
  182.  
  183.  
  184. @If ("@Indrive"=="C")
  185.     @Display
  186.  
  187.     The Install Program must be run from a Floppy Drive.  Please use the  
  188.     <ESC> key and start over from the Floppy drive.
  189.  
  190.      @Pause
  191.     @Abort
  192.    @EndDisplay
  193. @EndIf
  194.  
  195.  
  196. MenuMain:
  197.  @FlushOptions
  198.  @EnableF1(1)
  199.  @GetOption
  200.  @Cls
  201.   @Option 1000 = "@NameWin"
  202.   @Option 4000 = "@NameLotus"
  203.   @Option 2000 = "@NameCADsys"
  204.   @If (@CheckCard ("c000", "011c", "Fahrenheit 1280") == 1)
  205.    @Option 3000 = "@NameDesk"  
  206.   @Endif
  207.   @Option 5000 = "@NameWord"
  208.   @Option 5500 = "@NameSample"
  209.   @Option 6000 = "@NameUtil"
  210.   @Option 7000 = "@NameMore"
  211.  
  212.  @EndOption
  213.  
  214.  @If (@Esc)
  215.      @Exit
  216.  @Elseif (@KeyF1)
  217.      @Goto MenuMainHelp
  218.  @ElseIf (1000 [= @Option)
  219.      @Goto MenuWin
  220.  @ElseIf (2000 [= @Option)
  221.      @Goto MenuCADsys
  222.  @ElseIf (3000 [= @Option)
  223.      @Goto MenuDesktop
  224.  @ElseIf (4000 [= @Option)
  225.      @Goto MenuLotus
  226.  @ElseIf (5000 [= @Option)
  227.      @Goto MenuWordProcess
  228.  @ElseIf (5500 [= @Option)
  229.      @Goto MenuSample
  230.  @ElseIf (6000 [= @Option)
  231.      @Goto MenuUtility
  232.  @ElseIf (7000 [= @Option)
  233.      @Goto MenuInfo
  234.  @Else
  235.      @Goto MenuMain
  236.  @Endif
  237.  
  238.  
  239. MenuInfo:
  240. @ClearOption(7010)
  241. @ClearOption(7020)
  242. @ClearOption(7030)
  243. @ClearOption(7040)
  244. @ClearOption(7045) 
  245. @ClearOption(7050)
  246.  @EnableF1(0)
  247.  @GetOption
  248.  @Cls
  249.     
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.   @Option 7010 = "@NameOS2"
  263.   @Option 7020 = "@NameSCO"
  264.   @Option 7030 = "@NameIntractv"
  265.   @Option 7040 = "@NameOtherp"
  266.   @Option 7045 = "Other Orchid Video Products"
  267.   @Option 7050 = "@NameTchsupt"
  268.  
  269.  
  270.   @EndOption
  271.  
  272.  
  273.  @If (@Esc)
  274.      @Goto MenuMain
  275. @ElseIf (7010 [=@Option)
  276.      @Help ("@ExePath\\install.hlp", "HelpOS2", "EndOS2")
  277. @ElseIf (7020 [=@Option)
  278.      @Help ("@ExePath\\install.hlp", "HelpSCO", "EndSCO")
  279. @ElseIf (7030 [=@Option)
  280.      @Help ("@ExePath\\install.hlp", "HelpIntractv", "EndIntractv")
  281. @ElseIf (7040 [=@Option)
  282.      @Help ("@ExePath\\install.hlp", "HelpOtherp", "EndOtherp")
  283. @ElseIf (7045 [=@Option)
  284.      @Help ("@ExePath\\install.hlp", "HelpFah", "EndFah")
  285. @ElseIf (7050 [=@Option)
  286.      @Help ("@ExePath\\install.hlp", "HelpTchsupt", "EndTchsupt")
  287.  
  288. @endif
  289. @Goto MenuInfo
  290.  
  291.  
  292.  
  293. MenuMainHelp:
  294.  
  295. @If (1000 [= @Option)  
  296.   @Help ("@ExePath\\install.hlp", "HelpWin", "EndWin")
  297. @ElseIf (4000 [= @Option) 
  298.   @Help ("@ExePath\\install.hlp", "HelpLotus", "HelpLotusInst")
  299. @Elseif (2000 [= @Option) 
  300.   @Help ("@ExePath\\install.hlp", "HelpCADMain", "EndCADMain")
  301. @Elseif (3000 [= @Option) 
  302.   @Help ("@ExePath\\install.hlp", "HelpDeskMain", "EndDeskMain")
  303. @Elseif (5000 [= @Option) 
  304.   @Help ("@ExePath\\install.hlp", "HelpWordPMain", "EndWordPMain")
  305. @Elseif (5500 [= @Option) 
  306.   @Help ("@ExePath\\install.hlp", "HelpCopy", "EndCopy")
  307. @Elseif (6000 [= @Option) 
  308.   @Help ("@ExePath\\install.hlp", "HelpUtilMain", "EndUtilMain")
  309. @Elseif (7000 [= @Option) 
  310.   @Help ("@ExePath\\install.hlp", "HelpMore", "EndMore")
  311. @EndIf   
  312.  
  313. @Goto MenuMain
  314.  
  315.  
  316. MenuWin:
  317.  
  318. @ClearOption (1010) 
  319. @ClearOption (1020)
  320. @EnableF1(1)
  321. @GetOption @Cls
  322.  @NameWin @msgDDI
  323.  @msgPSAO
  324.  @Option 1010 = "Microsoft Windows Standard Installation"
  325.  @Option 1020 = "Microsoft Windows Network Server Installation"
  326. @EndOption
  327.  
  328. @If (@Esc)
  329.  @Goto MenuMain
  330. @ElseIf (@KeyF1)
  331.  @Help ("@ExePath\\install.hlp", "HelpWin", "EndWin") 
  332.  @Goto MenuWin
  333. @Endif
  334.  
  335.  
  336. MenuWindow:
  337. @Enab